package com.alit.face.koala.controller.overview;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.alit.face.koala.app.data.AppResponse;
import com.alit.face.koala.service.overview.StatisticsService;

@RestController
@RequestMapping("overview")
public class OverviewController {
  @Autowired
  private StatisticsService statisticsService;
  @RequestMapping("statistics")
  //1569035206491? 不能使用Integer接受,因为后面有个?号
  public AppResponse statictics(String t){
    return statisticsService.statistics(t); 
  }

}
